package com.itdachang.design.behavioral.template;

/**
 * @author gcq
 * @Create 2022-02-13
 */
public class AutoCookMachine extends CookTemplate {

    @Override
    public void addfood() {
        System.out.println("child ==> 添加了三颗小白菜");
    }

    @Override
    public void addsalt() {
        System.out.println("child ==> 添加了三勺盐");
    }
}